#ifndef CONFIGURATION_H_INCLUDED
#define CONFIGURATION_H_INCLUDED

/*
* Copyright (c) 2010 Michael Collins
*
* This file is part of TerraFirma.
*
* TerraFirma is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* TerraFirma is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with TerraFirma.  If not, see <http://www.gnu.org/licenses/>.
*/

#include <stdint.h>
#include <string.h>
#include <stdlib.h>

namespace game {

    struct Configuration {
        void set_default() {port = 1337; server = "127.0.0.1"; strcpy(player_name, "Player"); preferred_team = 0;}
        //Server stuff
        short port;
        const char* server;

        char player_name [64];
        uint8_t preferred_team;

        //Some other crap we want to specify, like controls or locality
    };
}


#endif // CONFIGURATION_H_INCLUDED
